package com.gzx.tjzy.feign;

import com.gzx.tjzy.feign.req.liaison.GzxDebtorLiaisonReqDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import vip.xiaonuo.common.consts.FeignConstant;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/2/13 10:11
 */
@FeignClient(name = FeignConstant.BIZ_APP, contextId = "TjzyLiaisonFeign")
public interface GzxDebtorLiaisonFeign {

    /**
     * 三方联系人数据同步
     *
     * @param debtorLiaisonReqDtoList
     */
    @RequestMapping("/feign/tjzy/liaison/sync")
    void sync(@RequestBody List<GzxDebtorLiaisonReqDto> debtorLiaisonReqDtoList);
}
